package com.cmc.cloud.cmclink.doc.api.document.emums;

import lombok.Getter;

/**
 * 进出口类型
 *
 * @author dev89
 * @date 2025/08/01 11:21
 **/
public enum ExImTypeEnum {
    /**
     * 出口
     */
    EX("EX", "出口"),

    /**
     * 进口
     */
    IM("IM", "进口");

    @Getter
    private final String value;

    @Getter
    private final String label;

    ExImTypeEnum(String value, String label) {
        this.value = value;
        this.label = label;
    }

    public boolean isEx(){
        return this.value.equals(ExImTypeEnum.EX.getValue());
    }
    public boolean isIm(){
        return this.value.equals(ExImTypeEnum.IM.getValue());
    }
}
